*::after, *::before {
  box-sizing: border-box;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --bg: #152533;
}

body {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--bg);
}

.card {
  position: relative;
  height: 100px;
  transition: .5s;
  transition-delay: .5s;
}

.card.active {
  height: 450px;
  transition-delay: 0;
}

.card .user {
  position: relative;
  width: 400px;
  min-height: 150px;
  background: #2196f3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  border-radius: 10px;
  padding: 60px 40px 30px;
}

.card .user .img_box {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 6px solid #fff;
  overflow: hidden;
  transition: .5s;
  z-index: 10;
}

.card .user .img_box img {  
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .user .content {
  position: relative;
  text-align: center;
}

.card .user .content h2 {
  font-size: 1.2em;
  line-height: 1.05;
  color: #FFF;
}

.card .user .content h2 span {
  font-size: .75em;
  font-weight: 400;
}

.card .user .toggle {
  position: absolute;
  bottom: 0;
  width: 120px;
  padding: 5px 15px;
  background: #FFF;
  border-radius: 30px;
  transform: translateY(50%);
  border: 6px solid var(--bg);
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  transition: .5s;
}

.card .user .toggle::before {
  content: 'Hire me';
}

.card.active .user .toggle {
  background: #ff4383;
  color: #FFF;
}

.card.active .user .toggle::before {
  content: 'Close';
}

.card .contact {
  position: relative;
  top: 30px;
  width: 100%;
  height: 0;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  gap: 10px;
  transition: .5s;
}

.card.active .contact {
  height: 325px;
}

.card .contact li {
  list-style: none;
  width: 100%;
  min-height: 100px;
  background: #FFF;
  border-radius: 10px;
  display: flex;
  transition: .5s;
  opacity: 0;
  transform: scale(0);
  padding: 10px 30px;
}

.card.active .contact li {
  opacity: 1;
  transform: scale(1);
  transition-delay: calc(.25s * var(--i));
}

.card.active .contact:hover li {
  opacity: .15;
  filter: blur(2px);
  transition-delay: 0s;
} 

.card.active .contact li:hover {
  opacity: 1;
  filter: blur(0px);
}

.card .contact li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.card .contact li a .icon_box {
  position: relative;
  width: 60px;
  height: 60px;
  background: var(--clr);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .contact li a .icon_box i {
  color: #FFF;
  font-size: 1.5em;
}

.card .contact li a p {
  color: #666;
  font-size: 1.1em;
}

.card .contact li a:hover p {
  color: #111;
}